﻿CREATE proc [dbo].[NKNH_Xoa_L]
@ID bigint
as

 if not exists (select*from NKNH_L where ID=@ID)
 begin
 select ErrCode=0
end
begin

delete from NKNH_L where ID=@ID
select ErrCode=1
end